FROM 47.92.71.9:5000/infra/alpine:3.20.0
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk add --no-cache tzdata
ENV TZ=Asia/Shanghai
ADD oa-rest /
COPY .env.prod /.env
ENTRYPOINT ["/oa-rest"]